Coding AI向けのcustom instructions
.CursorRules
よくある指示が公開されている
https://gyazo.com/f8d0f0d8ac49abe8b00ad00b7e63bf5e
#wip
Copilotは2種類ある
.github/copilot-instructions.md
.prompt.md
VSCode
github.copilot.chat.codeGeneration.instructions
github.copilot.chat.commitMessageGeneration.instructions
github.copilot.chat.codeGeneration.useInstructionFiles
コード命令を.github/copilot-instructions.mdCopilot リクエストに追加するかどうかを制御します。
github.copilot.chat.testGeneration.instructions
テストを生成する Copilot リクエストに追加される一連の命令。
github.copilot.chat.reviewSelection.instructions
現在のエディター選択を確認するために Copilot リクエストに追加される一連の指示。
↑これらは、language-specific settingsも使える
https://code.visualstudio.com/docs/editor/settings#_language-specific-editor-settings
e.g.
.cursor/rules/
.clinerules
CLAUDE.md
GitHub - mizchi/deno-ai-bestpractice
@mizchi
https://github.com/mizchi/ailab/blob/main/.clinerules
https://github.com/PatrickJS/awesome-cursorrules
こういうことをやりたくなる
コレ自体の構造化
@vscode/prompt-tsxとか
package化
例えば、tsを使う時とrsを使うときで含めたい内容が異なる
複数プロダクトで部分的に使ったりしたくなる
育てる
一つのプロダクトで作ったものを別のプロダクトでも共有したい
modelごとの共通化
いちいち、cline用、copilot用、と分けて作りたくない
共通のやつを見ろ
custom instructionsはlibraryに付属してほしい